package com.book.system.dao;

import java.util.List;
import java.util.Map;

/**
 * 图书类型数据库操作接口
 *
 * @author ：oath
 * @date ：Created in 2024/4/28 0:04
 */
public class ClassInfoDao {
    /**
     * 功能：查询图书类型
     * @author : oath
     * @create time : 2024/4/28 0:06
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     */
    public List<Map<String, Object>> getList() {
        String sql = "select * from class_info";
        List<Map<String, Object>> list = BaseDao.executeQuery(sql);
        return list;
    }
}